﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Composite.Regions;
using uTorrentNetClient.ModelDesign.Contracts;

namespace uTorrentNetClient.ModelDesign.Settings
{
    public class SettingsModul : IModule
    {
        IUnityContainer _container;
        IRegionManager _regionManager;

        public SettingsModul(IUnityContainer container, IRegionManager regionManager)
        {
            _container = container;
            _regionManager = regionManager;
        }

        public void Initialize()
        {
            //var model = _container.Resolve<ISettingsModel>();
            //model.View.DataContext = model;
            //_regionManager.Regions["Dialog"].Add(model.View);
        }
    }
}
